/**
 * Copyright (c) Jan 15, 2013 8:20:46 PM WKM and/or its affiliates. 
 * Use is subject to license terms.
 * All rights reserved.
 */
package org.extblog.wkm.web.service.face;

import java.util.List;
import java.util.Map;

import org.extblog.wkm.web.vo.BodyItemFaceView;
import org.extblog.wkm.web.vo.HomePageFaceView;
import org.extblog.wkm.web.vo.LeftItemFaceView;
import org.extblog.wkm.web.vo.MusicFormView;

/**
 * @author WKM 获取页面信息
 * FaceService.java history
 * 1.WKM - Jan 15, 2013 - Create File
 */
public interface FaceService {

	/**
	 * 获取页面左边的条目
	 * @return
	 */
	public List<LeftItemFaceView> getLeftItems();
	
	/**
	 * 获取页面左边的条目
	 * @return
	 */
	public LeftItemFaceView getLeftItems(String itemId);
	
	/**
	 * 根据Id获取条目父节点ID
	 * @param bodyId
	 * @return
	 */
	public List<String> getBodyItems(String bodyId);
	
	/**
	 * 增加根节点
	 * @param view
	 * @return
	 */
	public boolean addRootItem(LeftItemFaceView view);
	
	/**
	 * 增加根节点
	 * @param view
	 * @return
	 */
	public boolean addBodys(BodyItemFaceView view);
	
	/**
	 * 增加根节点
	 * @param view
	 * @return
	 */
	public List<Map<String,String>> loadBodys(LeftItemFaceView view);
	
	/**
	 * 增加根节点
	 * @param view
	 * @return
	 */
	public boolean addHomePage(HomePageFaceView view);
	
	/**
	 * 获取当前页面
	 * @param view
	 * @return
	 */
	public HomePageFaceView getHomePage();
	
	/**
	 * 获取音乐条目
	 * @return
	 */
	public List<MusicFormView> getMusics();
}
